package com.sinog.biz.service.business;

import com.sinog.core.domain.ChangeTable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;

/**
 * @desc 山西个性化需求:ChangTableService
 * @author wangxj
 * @date 2022-11-15 11:09:32
 */
@RestController
public interface ChangeTableService {

    /**
     * 山西个性化需求:根据priNum查找changeTable表信息
     * @param priNum priNum
     * @param tableName tableName
     * @param fieldName fieldName
     * @return List<ChangeTable>
     */
    @RequestMapping("/azbj/inmates/baseinfo/searchChangeTable")
    List<ChangeTable> searchChangeTable(@RequestParam(value = "priNum",required = false) String priNum,
                                        @RequestParam(value = "tableName",required = false) String tableName,
                                        @RequestParam(value = "fieldName",required = false) String fieldName);

    /**
     * 根据服刑人员编号查找changeTable信息
     * @param priNum priNum
     * @return List<String>
     */
    @RequestMapping("/azbj/inmates/baseinfo/searchChangeTableByPriNum")
    List<String> searchChangeTableByPriNum(@RequestParam(value = "priNum",required = false) String priNum);
}